package com.lc.YYGH.model.office;

import com.lc.YYGH.model.base.BaseMongoEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@ApiModel(description = "Lawer")
@Document("Lawer")
public class Lawer extends BaseMongoEntity {
    @ApiModelProperty(value = "事务所编号")
    @Indexed //普通索引
    private String officecode;
    @ApiModelProperty(value = "律师编号")
    @Indexed //普通索引
    private String lawercode;
    @ApiModelProperty(value = "职称")
    private String title;
    @ApiModelProperty(value = "律师名称")
    private String lawername;
    @ApiModelProperty(value = "擅长技能")
    private String skill;
    @ApiModelProperty(value="执业年龄")
    private String worktime;
    @ApiModelProperty(value = "个人简介")
    private String intro;
    @ApiModelProperty(value="执业地址")
    private String add;

}
